var e = d(require("@babel/runtime/regenerator")),
  a = require("@babel/runtime/helpers/asyncToGenerator"),
  i = require("@babel/runtime/helpers/objectSpread2"),
  s = d(require("@tencent/aegis-mp-sdk")),
  t = d(require("./config/index")),
  r = require("./services/user-service");
function d(e) {
  return e && e.__esModule ? e : { default: e };
}
require("./utils/lodash-fix");
var n = t.default.isProd
  ? {
      apiHead: "https://guide.sxd.cn/guide-sxdmb",
      apiHeadImg: "https://guide.sxd.cn/guide-sxdmb/asset/images/",
      apiHeadImgs: "https://guide.sxd.cn/guide-sxdmb/asset/images/",
      apiHeadExplain: "https://voexp.sxd.cn/explain-mobile",
      apiHeadImgExplain: "https://voexp.sxd.cn/explain-mobile/mobile/",
    }
  : {
      apiHead: "https://wbtest.okaygis.com/guide-sxdmb",
      apiHeadImg: "https://wbtest.okaygis.com/guide-sxdmb/asset/images/",
      apiHeadImgs: "https://wbtest.okaygis.com/guide-sxdmb/asset/images",
      apiHeadExplain: "https://wbtest.okaygis.com/explain-mobile",
      apiHeadImgExplain: "https://wbtest.okaygis.com/explain-mobile/mobile/",
    };
App({
  globalData: i(
    i({}, n),
    {},
    { tabBarParam: { tab: 0, current: 0, isFromTabBar: !1 }, routeQuery: null },
  ),
  onLaunch: function () {
    return a(
      e.default.mark(function a() {
        var i;
        return e.default.wrap(function (e) {
          for (;;)
            switch ((e.prev = e.next)) {
              case 0:
                (0, r.getUserId)(),
                  (i = new s.default({
                    id: "kqPZvNZIVAuxErqFPE",
                    reportApiSpeed: !0,
                  })),
                  console.log("log", i);
              case 3:
              case "end":
                return e.stop();
            }
        }, a);
      }),
    )();
  },
});
